package cn.iocoder.an.module.mold.enums;

import cn.iocoder.an.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 * <p>
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {
    ErrorCode LINESTOP_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_001, "停线类型不存在");
    ErrorCode LINESTOP_CATEGORY_EXITS_CHILDREN = new ErrorCode(1_002_004_002, "存在存在子停线类型，无法删除");
    ErrorCode LINESTOP_CATEGORY_PARENT_NOT_EXITS = new ErrorCode(1_002_004_003, "父级停线类型不存在");
    ErrorCode LINESTOP_CATEGORY_PARENT_ERROR = new ErrorCode(1_002_004_004, "不能设置自己为父停线类型");
    ErrorCode LINESTOP_CATEGORY_NAME_DUPLICATE = new ErrorCode(1_002_004_005, "已经存在该类型名称的停线类型");
    ErrorCode LINESTOP_CATEGORY_PARENT_IS_CHILD = new ErrorCode(1_002_004_006, "不能设置自己的子LinestopCategory为父LinestopCategory");

    ErrorCode LINESTOP_REGISTRATION_NOT_EXISTS = new ErrorCode(1_002_004_011, "停线登记不存在");

    ErrorCode CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_021, "模具类型不存在");
    ErrorCode CATEGORY_EXITS_CHILDREN = new ErrorCode(1_002_004_022, "存在存在子模具类型，无法删除");
    ErrorCode CATEGORY_PARENT_NOT_EXITS = new ErrorCode(1_002_004_023, "父级模具类型不存在");
    ErrorCode CATEGORY_PARENT_ERROR = new ErrorCode(1_002_004_024, "不能设置自己为父模具类型");
    ErrorCode CATEGORY_NAME_DUPLICATE = new ErrorCode(1_002_004_025, "类型编码重复");
    ErrorCode CATEGORY_PARENT_IS_CHILD = new ErrorCode(1_002_004_026, "不能设置自己的子Category为父Category");

    ErrorCode INFO_NOT_EXISTS = new ErrorCode(1_002_004_031, "模具信息不存在");

    ErrorCode WAREHOUSE_NOT_EXISTS = new ErrorCode(1_002_004_041, "模具仓库不存在");
    ErrorCode WAREHOUSE_CODE_DUPLICATE = new ErrorCode(1_002_004_025, "仓库编码重复");

    ErrorCode STORAGE_NOT_EXISTS = new ErrorCode(1_002_004_051, "模具储位不存在");
    ErrorCode STORAGE_CODE_EXISTS = new ErrorCode(1_002_004_051, "模具储位编码已存在");

    ErrorCode UPKEEP_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_061, "保养类型不存在");
    ErrorCode UPKEEP_CATEGORY_NAME_DUPLICATE = new ErrorCode(1_002_004_062, "保养类型编码重复");



    ErrorCode RECHECK_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_071, "复检类型不存在");

    ErrorCode DEV_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_081, "设备分类不存在");
    ErrorCode DEV_CATEGORY_EXITS_CHILDREN = new ErrorCode(1_002_004_082, "存在存在子设备分类，无法删除");
    ErrorCode DEV_CATEGORY_PARENT_NOT_EXITS = new ErrorCode(1_002_004_083, "父级设备分类不存在");
    ErrorCode DEV_CATEGORY_PARENT_ERROR = new ErrorCode(1_002_004_084, "不能设置自己为父设备分类");
    ErrorCode DEV_CATEGORY_NAME_DUPLICATE = new ErrorCode(1_002_004_085, "已经存在该名称的设备分类");
    ErrorCode DEV_CATEGORY_PARENT_IS_CHILD = new ErrorCode(1_002_004_086, "不能设置自己的子DevCategory为父DevCategory");

    ErrorCode DRAWING_NO_NOT_EXISTS = new ErrorCode(1_002_004_091, "模具图号不存在");
    ErrorCode DRAWING_IMPORT_NOT_EXISTS = new ErrorCode(1_002_004_092, "模具图号不能为空");
    ErrorCode DRAWING_REPEATS = new ErrorCode(1_002_004_093, "图号重复");

    ErrorCode ACCOUNT_NOT_EXISTS = new ErrorCode(1_002_004_101, "模具台账不存在");
    ErrorCode ACCOUNT_CODE_DUPLICATE = new ErrorCode(1_002_004_102, "模具编码重复");

    ErrorCode UPKEEP_ITEM_NOT_EXISTS = new ErrorCode(1_002_004_111, "模具保养项目不存在");

    ErrorCode UPKEEP_CAT2ITEM_NOT_EXISTS = new ErrorCode(1_002_004_121, "模具保养分类项目对照不存在");

    ErrorCode UPKEEP_TOBE_NOT_EXISTS = new ErrorCode(1_002_004_131, "待保养模具不存在");
    ErrorCode UPKEEP_TOBE_MOLD_EXISTS = new ErrorCode(1_002_004_132, "此模具已存在待保养列表中");

    ErrorCode UPKEEP_TASK_NOT_EXISTS = new ErrorCode(1_002_004_141, "模具保养任务不存在");
    ErrorCode UPKEEP_TASK_ALREADY_RECEIVED = new ErrorCode(1_002_004_142, "保养任务已接收");
    ErrorCode UPKEEP_TASK_NO_RECEIVED = new ErrorCode(1_002_004_143, "保养任务未接收");
    ErrorCode UPKEEP_TASK_NO_START = new ErrorCode(1_002_004_144, "保养任务未开始");
    ErrorCode UPKEEP_TASK_NO_FINISH = new ErrorCode(1_002_004_145, "保养任务未完成");
    ErrorCode UPKEEP_TASK_STATUS_ERROR = new ErrorCode(1_002_004_146, "保养任务状态异常");

    ErrorCode UPKEEP_STATICS_NOT_EXISTS = new ErrorCode(1_002_004_151, "模具统计不存在");

    ErrorCode REPAIR_FAULT_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_161, "模具维修故障分类不存在");

    ErrorCode REPAIR_CATEGORY_NOT_EXISTS = new ErrorCode(1_002_004_171, "模具维修分类不存在");

    ErrorCode REPAIR_ACCOUNT_NOT_EXISTS = new ErrorCode(1_002_004_181, "模具维修申请不存在");
    ErrorCode REPAIR_ACCOUNT_ALREADY_EXISTS = new ErrorCode(1_002_004_182, "模具维修任务已经接收");
    ErrorCode REPAIR_MOLD_ALREADY_EXISTS = new ErrorCode(1_002_004_183, "此模具已经存在维修任务");

    ErrorCode REPAIR_STATICS_NOT_EXISTS = new ErrorCode(1_002_004_191, "维修统计不存在");

    ErrorCode REPAIR_JOB_NOT_EXISTS = new ErrorCode(1_002_004_201, "模具维修任务不存在");
    ErrorCode REPAIR_JOB_NOT_WORKREPORTED = new ErrorCode(1_002_004_202, "模具维修状态异常，无法回退");


    ErrorCode UPKEEP_JOB_NO_RECEIVED = new ErrorCode(1_002_004_203, "模具维修任务已接受");
    ErrorCode UPKEEP_JOB_NO_START = new ErrorCode(1_002_004_204, "保养任务未开始");


    ErrorCode UPKEEP_TASK2ITEM_NOT_EXISTS = new ErrorCode(1_002_004_211, "模具保养任务以及保养项目对照不存在");

    ErrorCode STOCK_IO_RECORDS_NOT_EXISTS = new ErrorCode(1_002_004_221, "模具出入库记录不存在");


    ErrorCode DRAWING_NO_BOM_NOT_EXISTS = new ErrorCode(1_002_004_231, "模具图号BOM不存在");
    ErrorCode DRAWING_NO_BOM_EXITS_CHILDREN = new ErrorCode(1_002_004_232, "存在存在子模具图号BOM，无法删除");
    ErrorCode DRAWING_NO_BOM_PARENT_NOT_EXITS = new ErrorCode(1_002_004_233,"父级模具图号BOM不存在");
    ErrorCode DRAWING_NO_BOM_PARENT_ERROR = new ErrorCode(1_002_004_234, "不能设置自己为父模具图号BOM");
    ErrorCode DRAWING_NO_BOM_CODE_DUPLICATE = new ErrorCode(1_002_004_235, "已经存在该编号的模具图号BOM");
    ErrorCode DRAWING_NO_BOM_PARENT_IS_CHILD = new ErrorCode(1_002_004_236, "不能设置自己的子DrawingNoBom为父DrawingNoBom");

    ErrorCode RECHECK_ITEM_NOT_EXISTS = new ErrorCode(1_002_004_241, "模具复检项目不存在");

    ErrorCode RECHECK_CAT2ITEM_NOT_EXISTS = new ErrorCode(1_002_004_251, "模具复检分类项目对照不存在");

    ErrorCode RECHECK_TOBE_NOT_EXISTS = new ErrorCode(1_002_004_261, "待复检不存在");
    ErrorCode RECHECK_TOBE_MOLD_EXISTS = new ErrorCode(1_002_004_262, "此模具已存在复检任务");

    ErrorCode RECHECK_TASK_NOT_EXISTS = new ErrorCode(1_002_004_271, "复检任务不存在");

    ErrorCode RECHECK_TASK2ITEM_NOT_EXISTS = new ErrorCode(1_002_004_281, "模具复检任务以及复检项目对照不存在");


    ErrorCode RECHECK_STATICS_NOT_EXISTS = new ErrorCode(1_002_004_291, "复检统计不存在");

}


